<?php 
    $formulario=mktime(date("his"));
    $id_vent="vent_nue_".$formulario;
    echo $this->Vista->ventana(DLOAD,DVENTANA,'NUEVO CLIENTE','Monitoreos/guardar',$formulario,'guardar',0,'600','320',$id_vent);
?>
<div id="<?php echo DVENTANA ?>_2" style="display:none;" class="x-hide-display">
<?php
    echo $this->Interfaz->formulario($formulario);
    echo $this->Interfaz->inputoculto('id_vent',$id_vent);
    echo $this->Interfaz->filset('Datos del Cliente',1);
?>
<table border='0' cellpadding='0' cellspacing='0' width='100%' align='center'>
    <tr>
        <td class="labeln" align="center">Codigo Sap: 
        <?php $comprobar = $this->Interfaz->ajax('Monitoreos/comprobar_cliente', 'comprobacion', array('cod_sap'));
        echo $this->Interfaz->input('cod_sap', 15, 'numerico', 'inputn', 10, 10, '', 0, 1, 'Codigo Sap del cliente');
        echo $this->Interfaz->img('iconos/icons/search.png', 'Buscar', 'Buscar', 30, 30, array('onClick' => $comprobar));
        ?>
        </td>
    </tr>
    <tr><td><br></td></tr>
</table>
    <div id="comprobacion"></div>    
    <?php echo $this->Interfaz->filset();?>
</div>
<style>
   img#Buscar { 
       padding: 2px;
       border:1px solid gray;
       background-color: whitesmoke;
       border-radius: 5px;
   }
</style>